package thread;

/*
 * @author zzr
 * @date: 2025/04/01  17:58
 * @description:
 */
public class ThreadDemo33 {
    public static void main(String[] args) throws InterruptedException {
        Object object = new Object();
        synchronized(object){
            System.out.println("wait 之前");
            object.wait();
            System.out.println("wait 之后");
        }
    }
}
